//
//  IDAuthViewController.m
//  身份证识别
//

//  Created by runone02 on 2018/9/4.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import "IDAuthViewController.h"
#import "IDAuthView.h"
#import "IDInfo.h"
@interface IDAuthViewController () 
/** */
@property (nonatomic,strong) IDAuthView *idView;
@end

@implementation IDAuthViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"身份证识别";

    [self loadIdView];
}

- (void)loadIdView{
    self.idView = [[IDAuthView alloc]init];
    [self.view addSubview:self.idView];
    [self.idView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(kTopBarHeight);
        make.left.right.bottom.mas_equalTo(self.view);
    }];
    
//    if (_IDInfo.num) {
//        self.idView.image.layer.cornerRadius = 8;
//        self.idView.image.layer.masksToBounds = YES;
//        
//        self.idView.titleLabel.text = _IDInfo.num;
//        self.idView.image.image = _IDImage;
//    }   
}



@end
